package com.hk.web.dto.merchant;

import com.google.gson.Gson;

/**
 * Created by Antinomy on 17/11/1.
 */
public class MerchantBaseDTO {

    protected String merchantKey;

    protected String httpMethod;

    protected String sign;

    protected String signVersion;

    protected String ts;

    protected String randomCode;

    public String getMerchantKey() {
        return merchantKey;
    }

    public void setMerchantKey(String merchantKey) {
        this.merchantKey = merchantKey;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSignVersion() {
        return signVersion;
    }

    public void setSignVersion(String signVersion) {
        this.signVersion = signVersion;
    }

    public String getTs() {
        return ts;
    }

    public void setTs(String ts) {
        this.ts = ts;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public void setRandomCode(String randomCode) {
        this.randomCode = randomCode;
    }

    public String toJson() {
        Gson gson = new Gson();
        return gson.toJson(this);
    }
}
